@extends('app')
@include('UEditor::head')
@section('content')
<!--单选框、复选框-->
<ul class="nav nav-tabs">
    <li ><a href="{{ url('/admin/content/link')}}">信息列表</a></li>
    <li class="active"><a href="{{ url('/admin/content/link/create') }}">信息添加</a></li>
</ul>
<form id="newsForm" method="post" action="/admin/content/link">
    <div class="description2">
        <div class="form-inline mt20">
            <div class="form-group">
                <label style="width:80px; text-align: right;">链接名称：</label>
                <input type="text" class="form-control" name="title" id="title" placeholder="链接名称"
                       value="" style="width:300px;">
            </div>
        </div>
        <div class="form-inline mt20">
            <div class="form-group">
                <label style="width:80px; text-align: right;">链接地址：</label>
                <input type="text" class="form-control" name="url" id="url" placeholder="链接地址"
                       value="" style="width:300px;">
            </div>
        </div>
        <div class="form-inline mt20">
          <div class="form-group">
            <label style="width:80px; text-align: right;">启用：</label>
            <input type="radio" name="is_disabled" value="0" checked> 是
            <input type="radio" name="is_disabled" value="1"> 否
          </div>
        </div>
        <div class="form-inline mt20">
            <div class="form-group">
                <label style="width:80px; text-align: right;">排序：</label>
                <input type="text" class="form-control" name="sort" id="sort"
                       value="" placeholder="" style="width: 100px;">
                &nbsp;越大越靠前
            </div>
        </div>
        {!! csrf_field() !!}
        <input type="hidden" name="id" value="0">
        <div class="form-inline mt20">
            <div class="form-group col-xs-offset-1">
                <input type="hidden" name="blademode" value="{{ $blademode }}">
                <input type="submit"  class="btn  btn-info" value="submit" />
            </div>
            <div class="form-group col-xs-offset-1">
                <input type="reset" class="btn" value="reset" />
            </div>
        </div>
    </div>
</form>

<script type="text/javascript">
<!--
$('input').iCheck({
	checkboxClass: 'icheckbox_flat-blue',
    radioClass: 'iradio_flat-blue',
    increaseArea: '-10' // optional
});
//-->
</script>
@endsection
